<?php

	class viewport_errors extends viewport {
		public function exec(){

			if (isset($_SESSION["errors"])){
				$this->assign("__viewport_errors",$_SESSION["errors"]);
			}
			
			unset($_SESSION["errors"]);
		}		

	}

?>
